#! /usr/bin/env python2.4
# -*- mode: python -*-
###
#
# (c) 2000-2007 Wijnand Modderman <wijnand at tehmaze dot com>
# All rights reserved. See docs/LICENSE
#
###

__revision__ = '$Hg$'

# system imports
import sys, os

# DDB imports
from ddb.log import application, log
import ddb.transport

# fix include dirs
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))+os.sep+'lib')

if __name__ == '__main__':
    t = ddb.transport.transportManager
    #t.addTransport('irc', None)
    t.loadConfig('config/bot.ini')
    t.startTransports()
    t.run()

# vim:ts=4:sw=4:et:
